﻿using Sustainalytics.Entities;
using Sustainalytics.News.BusinessLogic;
using Sustainalytics.Utils;
using System;
using System.Net.Http;

namespace Sustainalytics.News.Service
{
    public interface INewsController
    {
        HttpResponseMessage Get(Guid newsId, Guid? accountId, bool fromAdmin = false);
        HttpResponseMessage Get(ListOptions listOptions, Guid? accountId, string term = null, NewsCategory? category = null, bool? isPublished = true, NewsAvailability availableFilter = NewsAvailability.Client, bool truncateBody = false, bool fromAdmin = false);
        HttpResponseMessage Post(NewsDto news);
        HttpResponseMessage Put(NewsDto news);
        HttpResponseMessage Patch(NewsPatch patchData);
        HttpResponseMessage Delete(Guid newsId);


    }
}
